Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Types and Constants


Contextual Menu Help Type Constants

NEW WITH CONTEXTUAL MENUS

You can pass these constants in the inHelpType parameter of the function ContextualMenuSelect to specify the kind of help the application supports.

enum{    
   kCMHelpItemNoHelp     = 0,
   kCMHelpItemAppleGuide = 1,
   kCMHelpItemOtherHelp  = 2
};

Constant descriptions

kCMHelpItemNoHelp
The application does not support any help. The Menu Manager will put an appropriate help string into the menu and disable it.
kCMHelpItemAppleGuide
The application supports Apple Guide help. The Menu Manager will put the name of the main Guide file into the menu and enable it.
kCMHelpItemOtherHelp
The application supports some other form of help. In this case, the application must also pass a valid string into the inHelpItemString parameter of ContextualMenuSelect. This string will be the text of the help item in the menu, and the help item will be enabled.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998